package io.kubesphere.devops.service;

import io.kubesphere.devops.model.UserMergingRule;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MergeEvent {
    public MergeEvent(String userMergingId) {
        this.userMergingId = userMergingId;
    }

    public MergeEvent(String userMergingId, String userMergingDetailId) {
        this.userMergingDetailId = userMergingDetailId;
        this.userMergingId = userMergingId;
    }

    private String userMergingDetailId;
    private String userMergingId;
    private String partitionName;
}
